package cn.iocoder.yudao.module.picturebook.controller.admin.picturepost.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 帖子分页 Request VO")
@Data
public class PicturePostPageReqVO extends PageParam {

    @Schema(description = "绘本id", example = "18649")
    private Long bookId;

    @Schema(description = "帖子内容")
    private String context;

    @Schema(description = "贴标题")
    private String title;

    @Schema(description = "帖子类型", example = "1")
    private Integer type;

    @Schema(description = "图片url", example = "https://www.iocoder.cn")
    private String imageUrl;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}